package com.ki.rent.service.impl;

import com.ki.rent.entity.House;
import com.ki.rent.mapper.HouseMapper;
import com.ki.rent.service.HouseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author
 */
@Service
public class HouseServiceImpl extends ServiceImpl<HouseMapper, House> implements HouseService {

    @Autowired
    private HouseMapper houseMapper;
    @Override
    public List<House> findHouse(String keywords) {
        return houseMapper.findHouse(keywords);
    }
}
